package com.ahut.gsmcommon.common.util;

import sun.nio.fs.DefaultFileSystemProvider;


import java.io.File;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Author gan.sumin@mail.com
 * @data 2018/5/229:29
 * @description
 */
public class ThreadUtil {
    public static void main(String[] args) throws ParseException {
        String s = "2017-02-03";
        String e = "2017-03-01";
        Date date = new SimpleDateFormat("yyyy-M").parse("2017-1");
        String s1 = new SimpleDateFormat("yyyy-MM-dd").format(date);
        System.out.println(s1);
        System.out.println(date);
        getTime(s,e);

    }
    private static void getTime(String startTime,String endTime){
        Date date = new Date();
        System.out.println(date);
    }
}
